

class HttpError implements Exception {
  final int code;
  final String message;
  final dynamic data;
  HttpError(this.code, this.message,{this.data});

  @override String toString() {
    return "code:$code,message:$message,data:$data";
  }
}
